package com.tedu.day04mybatis.mapper;


import com.tedu.day04mybatis.pojo.User;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

/**
 * Mapper接口
 */
@Mapper
public interface UserMapper {
    @Insert("INSERT INTO user(username,password,nickname,created,age) VALUES (#{username},#{password},#{nickname},#{created},#{age}) ")
    int intert(User user);
}
